package demo.service.impl;

import demo.api.service.SayHelloService;
import org.apache.dubbo.common.URL;

/**
 * @author m0v1
 * @date 2021年09月22日 8:49 下午
 */
public class DogSayHelloServiceImpl implements SayHelloService {
    @Override
    public String sayHello(String name) {
        return "woof,woof,woof";
    }

    @Override
    public String sayWithURL(URL url) {
        return "demo.service.impl.DogSayHelloServiceImpl.sayWithURL";
    }

    @Override
    public void defaultSayWithURL(URL url) {
        System.out.println("demo.service.impl.DogSayHelloServiceImpl.defaultSayWithURL");
    }
}
